package day30;
import java.util.*;

class Student{
	int id;
	String name;
	
	public Student(int id,String name){
		this.id=id;
		this.name=name;
	}
}

public class map {
	
	public void mapInt(){
		Map hashMap= new HashMap();
		Map hashTable = new Hashtable();
		Map linkedHashMap = new LinkedHashMap();
		Map properties = new Properties();
		Map treeMap=new TreeMap();
		
		
		hashMap.put("Title", "pirate of the carribian");
		hashMap.put("Board", "gone for lunch");
		hashMap.put("Director", "lead bull");
		hashMap.put("Host", "great dinesh");
		

		hashTable.put("Title", "pirate of the carribian");
		hashTable.put("Board", "gone for lunch");
		hashTable.put("Director", "lead bull");
		hashTable.put("Host", "great dinesh");
		

		linkedHashMap.put("Title", "pirate of the carribian");
		linkedHashMap.put("Board", "gone for lunch");
		linkedHashMap.put("Director", "lead bull");
		linkedHashMap.put("Host", "great dinesh");

		properties.put("Title", "pirate of the carribian");
		properties.put("Board", "gone for lunch");
		properties.put("Director", "lead bull");
		properties.put("Host", "great dinesh");

		treeMap.put("Title", "pirate of the carribian");
		treeMap.put("Board", "gone for lunch");
		treeMap.put("Director", "lead bull");
		treeMap.put("Host", "great dinesh");
		
		System.out.println(hashMap.get("Title"));
		System.out.println(hashTable.get("Title"));
		System.out.println(linkedHashMap.get("Title"));
		System.out.println(properties.get("Title"));
		System.out.println(treeMap.get("Title"));
		
		
		
	}
	
	public static void main(String[] args) {
		map m=new map();
		m.mapInt();

	}

}
